package ar.uba.fi.tp2Unit.displayers.gui;

import java.awt.Color;


/**
 * Represents a slice in a pie chart.
 * 
 * @author grupo12
 */
public class Slice {

	private double percentage;
	private Color color;

	public Slice(double percentage, Color color) {
		this.percentage = percentage;
		this.color = color;
	}

	public double getPercentage() {
		return percentage;
	}

	public Color getColor() {
		return color;
	}

}
